package com.ruoyi.charging.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 失败订单对象 charging_bill_fail
 * 
 * @author tedu
 * @date 2023-12-18
 */
public class ChargingBillFail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String billId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 运营商ID */
    @Excel(name = "运营商ID")
    private Integer operatorId;

    /** 场站ID */
    @Excel(name = "场站ID")
    private Integer stationId;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Integer gunId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private Long vehicleId;

    /** 失败描述 */
    @Excel(name = "失败描述")
    private String failDesc;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setBillId(String billId) 
    {
        this.billId = billId;
    }

    public String getBillId() 
    {
        return billId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setOperatorId(Integer operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Integer getOperatorId() 
    {
        return operatorId;
    }
    public void setStationId(Integer stationId) 
    {
        this.stationId = stationId;
    }

    public Integer getStationId() 
    {
        return stationId;
    }
    public void setGunId(Integer gunId) 
    {
        this.gunId = gunId;
    }

    public Integer getGunId() 
    {
        return gunId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setFailDesc(String failDesc) 
    {
        this.failDesc = failDesc;
    }

    public String getFailDesc() 
    {
        return failDesc;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billId", getBillId())
            .append("userId", getUserId())
            .append("operatorId", getOperatorId())
            .append("stationId", getStationId())
            .append("gunId", getGunId())
            .append("vehicleId", getVehicleId())
            .append("failDesc", getFailDesc())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
